<%@page import="cooper.classes.bean.CooperativaBean"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@page import="cooper.classes.bean.ServicoBean" %>
<%@page import="cooper.classes.dao.ServicoDAO" %>
<%@page import="cooper.classes.bean.UsuarioBean" %>
<% int idServ = Integer.parseInt(request.getParameter("idServ")); %>
<% ServicoDAO sd = new ServicoDAO();%>
<% 
    ArrayList lista = sd.consultarServicoDetalhesPrest(idServ);
    ServicoBean servico = (ServicoBean) lista.get(0);
    CooperativaBean cooperativa = (CooperativaBean) lista.get(1);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Sustentabilidade Cooperativa</title>

        <!--META-->
        <meta name="classification" content="Sustentabilidade Cooperativa" />
        <meta name="Copyright" content="Sustentabilidade Cooperativa" />
        <meta name="Title" content="Sustentabilidade Cooperativa" />
        <meta name="autor" content="Sustentabilidade Cooperativa" /> 
        <meta name="company" content="Sustentabilidade Cooperativa" /> 
        <meta name="city" content="Sorocaba, SP" />
        <meta name="geo.placename" content="Sorocaba, Sao Paulo" />
        <meta name="geo.region" content="br" />
        <meta name="Distribution" content="Global" />
        <meta name="country" content="Brasil" />
        <meta name="Language" content="Portugues" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="description" content="Sustentabilidade Cooperativa" />
        <link href="css/estilo.css" type="text/css" rel="stylesheet" />
        <script src="js/easytabs.js" type="text/javascript" charset="utf-8"></script>

        <script language="JavaScript" src="library/jquery-1.2.6.js"></script>
        <script language="JavaScript" src="library/jquery.columnfilters.js"></script>
        <script language="JavaScript" src="library/jquery.tablesorter.min.js"></script>
        <link rel="stylesheet" type="text/css" href="style.css">

    </head>

    <body>
        <!--TOPO-->
        <div id="topo">
            <div id="container">
                <div id="logo"><a href="./"><img src="imgs/logo.png" /></a></div>
                
            </div>
        </div>
        <!--FIM TOPO-->


<!--RIGHT-->
<div id="right">
    <div id="tit">Detalhes do Servi&ccedil;o</div>

    <div id="formulario">
            <label>
                <div id="info" style="font: bold;">Problema: </div><div id="details"><%= servico.getProblema() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">Descrição: </div><div id="details"><%= servico.getDescricao() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">Cooperativa: </div><div id="details"><%= cooperativa.getNome() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">Respons&aacute;vel: </div><div id="details"><%= cooperativa.getResponsavel() %></div>
            </label>
                <br />
                
            <label>
                <div id="info">Endere&ccedil;o </div><div id="details"><%= cooperativa.getRua() + ", " + cooperativa.getNumero() %></div>
            </label>
                <br />
           
           
            <label>
                <div id="info">Bairro: </div><div id="details"><%= cooperativa.getBairro() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">Cidade: </div><div id="details"><%= cooperativa.getCidade() + " - " + cooperativa.getEstado() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">E-mail: </div><div id="details"><%= cooperativa.getEmail() %></div>
            </label>
                <br />
           
            <label>
                <div id="info">Telefone: </div><div id="details"><%= cooperativa.getTelefone() %></div>
            </label>
                <br />
           <br />
           <a href="javascript: self.close()">[X] Fechar</a>
            </div>
</div>
<!--FIM RIGHT-->
</div>
          
</div>
    <!--FIM CORPO-->
 


</body>
</html>